projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76d6afa
)
build: Make -Werror=int-conversion fatal
author
Colin Walters
<walters@verbum.org>
Thu, 4 Aug 2016 20:58:07 +0000
(16:58 -0400)
committer
Atomic Bot
<atomic-devel@projectatomic.io>
Mon, 8 Aug 2016 11:13:06 +0000
(11:13 +0000)
This should hopefully avoid me accidentally passing NULL for an `int`
file descriptor in the future.
Closes: #431
Approved by: giuseppe
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 18ab7b048a793cd4dcd82b07b0d3f4a434ffc61c..4831bcc4adaa1310bb6f2bed43e1004041ed05aa 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-27,6
+27,7
@@
CC_CHECK_FLAGS_APPEND([WARN_CFLAGS], [CFLAGS], [\
-Werror=missing-declarations \
-Werror=return-type \
-Werror=overflow \
+ -Werror=int-conversion \
-Werror=missing-include-dirs -Werror=aggregate-return \
-Werror=declaration-after-statement \
])